package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.dao.Comment;
import org.example.dao.User;

import java.util.List;

@Mapper
public interface CommentMapper {
    Integer addComment(Comment comment);

    List<Comment> getCommentList(Comment comment);

    Integer updateComment(Comment comment);

    Integer deleteComment(Comment comment);

}
